home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Developer Utilities / Installer 4.0.3 SDK / Script Examples / System Rules - Application / Makefile < prev   
Encoding:
Makefile  |  1994-11-15  |  1.4 KB  |  35 lines  |  [TEXT/MPS ]

  1. #
  2. #    mark young • 08/02/94
  3. #    
  4.  
  5. # To build this example, choose the "Build…" menu item from within
  6. # the "Build" menu in MPW. When asked for Program Name, type in the 
  7. # script name, in this case "appRules" ( without double quotes ) 
  8. # and press the Enter key. Be sure that the Current Working Directory
  9. # for MPW is set to the directory containing this example.
  10.  
  11. # To build the Debugger version of this example, choose the "Build…" 
  12. # menu item from within the "Build" menu in MPW. When asked for Program 
  13. # Name, type in the script name, in this case "appRules.debug" ( without 
  14. # double quotes ) and press the Enter key. Be sure that the Current 
  15. # Working Directory for MPW is set to the directory containing this example.
  16.  
  17. scriptName                = appRules
  18. debugScriptName            = "{scriptName}.debug"
  19.  
  20. ScriptCheckDir            = :::ScriptCheck 4.0.3:
  21. InstallerRIncDir        = :::DeveloperInterfaces:RIncludes:
  22. InstallerDebuggerDir    = :::Installer Debugger 4.0:
  23.  
  24. "{debugScriptName}" ƒ "{scriptName}"
  25.     Duplicate -y {scriptName} "{scriptName} w/ Debugger"
  26.     Rez -m "{InstallerDebuggerDir}Installer Debugger.r" -append -o "{scriptName} w/ Debugger"
  27.  
  28. "{scriptName}" ƒ "{scriptName}.r"
  29.     set theTime    "'`date -d -s` 12:00:00 PM'"
  30.     Rez "{scriptName}.r" -o "{scriptName}" -t 'kajr' -c 'kajr' -i "{InstallerRIncDir}"
  31.     SetFile -a b -d {theTime} {scriptName}
  32.     "{ScriptCheckDir}ScriptCheck" "{scriptName}" -h -d -a
  33.     SetFile -m {theTime} "{scriptName}"
  34.  
  35.